package com.ruoyi.article.domain;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("语音转化")
public class VoiceTranslation {

    @ApiModelProperty("格式")

    private String format;  //格式
    @ApiModelProperty("语音地址")
    private String voice;      // 待翻译语音

    @ApiModelProperty("源语言")
    private String fromLan;   // 源语言（如 "zh"）

    @ApiModelProperty("目标语言")
    private String toLan;     // 目标语言（如 "en"）


    public VoiceTranslation() {
    }

    public VoiceTranslation(String format, String voice, String fromLan, String toLan) {
        this.format = format;
        this.voice = voice;
        this.fromLan = fromLan;
        this.toLan = toLan;
    }
}